import styled from 'styled-components'

// list1 的样式
export const ListOne = styled.div`

nav {
  display: flex;
  flex-direction: column;
  height: 1.9rem;
  background-color: #fff;

  ul {
    display: flex;
    height: 33.333%;

    li {
      display: flex;
      width: 50%;
      height: 100%;
      padding: 0.15rem;
      border_1px(0 0 1px 1px, #f0f3f5);
      justify-content: space-between;
      align-items: center;

      div:nth-child(1) {
        display: flex;
        flex-direction: column;

        p {
          font-size: 0.14rem;
          color: #333;
        }

        span {
          font-size: 0.11rem;
          color: #666;
        }
      }

      div:nth-child(2) {
        width: 0.525rem;
        height: 0.525rem;

        img {
          width: 100%;
          height: 100%;
        }
      }
    }
  }

  & ul:nth-child(3) {
    li {
      border_1px(0 0 0 1px, #f0f3f5);
    }
  }
}
`

// list2 的样式
export const ListTwo = styled.div`

.middle-container {
  height: 1.4rem;
  padding: 0.05rem;
  display: flex;
  justify-content: space-between;

  li {
    width: 1.18rem;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    p {
      font-size: 0.12rem;
      color: #333333;
    }

    span {
      font-size: 0.1rem;
      color: #666666;
    }

    img {
      width: 0.6rem;
      height: 0.6rem;
    }
  }
}
`

// 热门活动
export const HotActiveDiv = styled.div`
    background: #FFF;
    margin: .08rem 0 .14667rem;

    display: table;
    content: "";
    line-height: 0;

  h3 {
    line-height: 0.2rem;
    padding: .1rem .1rem;
  }

  ul {
    padding: 0 .1rem;
    display: flex;
    flex-wrap: wrap;

    li {
      width: 32%;
      height: 1.29rem;
      margin-right: 1.3%;
      /* display: flex;
      flex-direction: column; */

      .pic {
        height: 0.7rem;
        overflow: hidden;
        img {
          width: 100%;
        }
      }
      p {
        line-height: 0.2rem;
        &.p1 {
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          font-weight: 700;
          font-size: 12px;
          width: 100%;
        }
        &.p2 {
          color: #666;
          text-align: left;

          span {
            display: inline-block;
            transform: scale(0.8333);
          }
        }
      }


      &:nth-child(3n) {
          margin-right: 0;
      }
    }
  }
`
